package com.suneast.suneaststore.modules.shopcart.event;

import com.suneast.suneaststore.modules.common.Flag;

public class BalancePayResult {
    private @Flag.Result
    int value;
    private double coinValue;
    private double balanceValue;
    private String msg;

    public BalancePayResult(int value, double coinValue, double balanceValue) {
        this.value = value;
        this.coinValue = coinValue;
        this.balanceValue = balanceValue;
    }


    public BalancePayResult(int value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    public int getValue() {
        return value;
    }

    public double getCoinValue() {
        return coinValue;
    }

    public double getBalanceValue() {
        return balanceValue;
    }

    public String getMsg() {
        return msg;
    }
}
